<template>
	<view>
		<u-navbar title="注册结果" autoBack="true" bgColor="transparent" :titleStyle="{fontSize:'36rpx',fontWeight:'500'}">
		</u-navbar>
		<view class="result" v-if="success">
			<u--image :showLoading="true" src="/static/success.png" width="160rpx" height="160rpx"></u--image>
			<u--text text="认证成功" margin="32rpx 0 0" size="16" color="#333" align="center" lineHeight="44rpx"></u--text>
			<u--text text="请核实您的姓名与身份证号是否匹配" margin="20rpx 0 0" size="14" color="#999" align="center" lineHeight="44rpx"></u--text>
		</view>
		<view class="result" v-else>
			<u--image :showLoading="true" src="/static/fail.png" width="160rpx" height="160rpx"></u--image>
			<u--text text="认证失败" margin="32rpx 0 0" size="16" color="#333" align="center" lineHeight="44rpx"></u--text>
			<u--text text="请核实您的姓名与身份证号是否匹配" margin="20rpx 0 0" size="14" color="#999" align="center" lineHeight="44rpx"></u--text>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				success: true
			};
		}
	}
</script>

<style lang="scss" scoped>
.result{
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	margin-top:376rpx;
}
</style>